<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

#领取现金
Route::any('/get_cash', 'AdminController@GetCash');
#手机验证
Route::any('/check_mobile', 'AdminController@CheckMobile');
#发送短信验证码
Route::any('/verify_news', 'AdminController@VerifyNews');
#短信验证
Route::any('/check_news', 'AdminController@CheckNews');
#注册
Route::any('/register', 'AdminController@Register');
#注册验证
Route::any('/verify_register', 'AdminController@VerifyRegister');
#下载页面
Route::any('/invite_download', 'AdminController@InviteDownload');
#下载
Route::any('/download', 'AdminController@Download');


#API
Route::group(

    ['prefix'=>'Api'], function() {
    #首页
    Route::get('/index_data', 'ApiController@GetIndexData');
    #央票通列表
    Route::get('/project_ypt_data', 'ApiController@GetyptData');
    #上市通列表
    Route::get('/project_sst_data', 'ApiController@GetsstData');
    #央票通内容页
    Route::get('/ypt_details_data', 'ApiController@YptDetailsData');
    #投资
    Route::get('/project_psay', 'ApiController@ProjectPsay');
    #立即投资
    Route::any('/project_pay', 'ApiController@AjaxProjectPay');
    #平台奖励
    Route::any('/user_award', 'ApiController@UserAward');
    #体验金
    Route::any('/user_experience', 'ApiController@Experience');
    #邀请人列表
    Route::any('/user_invite', 'ApiController@UserInvite');
    #体验金投资
    Route::any('/project_details_experience', 'ApiController@ProjectDeEexperience');
    #充值
    Route::any('/project_jdpay', 'ApiController@JdPay');
    #充值投资
    Route::any('check_Sign', 'ApiController@CheckSign');
    #提现
    Route::any('/user_withdraw', 'ApiController@AjaxUserMone');
    #个人中心
    Route::any('/user_account', 'ApiController@UserAccount');


    #页面初始化
    Route::get('/index_app', 'ApiController@IndexApp');
    #注册
    Route::post('/register', 'ApiController@DeposeRegister');
    #注册验证手机号
    Route::get('/register_mobile', 'ApiController@RegisterMobile');
    #登录
    Route::post('/login', 'ApiController@DeposeLogin');
    #自动登录
    Route::post('/auto_login', 'ApiController@AutoLogin');
    #注销登录
    Route::get('/login_out', 'ApiController@LoginOut');
    #忘记密码手机验证
    Route::get('/forget_password_mobile', 'ApiController@ForgetPasswordMobile');
    #忘记密码
    Route::post('/forget_password', 'ApiController@ForgetPassword');
    #实名认证
    Route::post('/auth_name', 'ApiController@AuthName');
    #设置支付密码
    Route::post('/pay_password', 'ApiController@PayPassword');
    #修改支付密码
    Route::post('/up_pay_password', 'ApiController@UpPayPassword');
    #修改登录密码
    Route::post('/up_login_password', 'ApiController@UpLoginPassword');
    #投资记录
    Route::get('/invest_record', 'ApiController@InvestRecord');
    #消息中心
    Route::get('/message_center', 'ApiController@MessageCenter');
    #银行卡列表
    Route::get('/bank_card', 'ApiController@BankCard');
    #银行卡绑定
    Route::post('/bank_bound', 'ApiController@BankBound');
    #银行卡修改
    Route::post('/bank_up', 'ApiController@BankUp');
    #银行卡信息提交
    Route::post('/bank_confirm', 'ApiController@BankConfirm');
    #银行卡删除
    Route::get('/bank_del', 'ApiController@BankDel');
    #银行卡信息
    Route::get('/bank_info','ApiController@BankInfo');
    #投标记录
    Route::get('/bid_record', 'ApiController@BidRecord');
    #体验标投标记录
    Route::get('/exper_bid_record', 'ApiController@ExperBidRecord');
    #资产日历
    Route::get('/calendar', 'ApiController@Calendar');
    #保理服务合同展示
    Route::get('/read_word', 'ApiController@ReadWord');
    #注册协议
    Route::get('/register_protocol', 'ApiController@RegisterProtocol');
    #邀请好友
    Route::get('/ypt_app_invite', 'ApiController@YptAppInvite');
    #关于我们
    Route::get('/about_us', 'ApiController@AboutUs');
    #获取个人信息
    Route::get('/get_user_info', 'ApiController@GetUserInfo');
    #消息状态
    Route::get('/message_status', 'ApiController@MessageStatus');
    #呼呼
    Route::get('/xg', 'ApiController@XG');





});

























